﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace FF14TreasureDiggingTool.DataAccess.Migrations
{
    /// <inheritdoc />
    public partial class AddDungeonsRecord : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            

            migrationBuilder.CreateTable(
                name: "DungeonsRecords",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "TEXT", nullable: false),
                    RuleName = table.Column<string>(type: "TEXT", nullable: false),
                    DateRecord = table.Column<DateTime>(type: "TEXT", nullable: false),
                    Layer1Record = table.Column<string>(type: "TEXT", nullable: false),
                    Layer2Record = table.Column<string>(type: "TEXT", nullable: false),
                    Layer3Record = table.Column<string>(type: "TEXT", nullable: false),
                    Layer4Record = table.Column<string>(type: "TEXT", nullable: false),
                    Layer5Record = table.Column<string>(type: "TEXT", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_DungeonsRecords", x => x.Id);
                });
            
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "DungeonsRecords");
        }
    }
}
